package com.study.service.impl;

import com.study.dao.ChapterDao;
import com.study.pojo.Chapter;
import com.study.service.ChapterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author Miss kun
 * @Date 2020/10/6 14:12
 * @Version 1.0
 */

@Service
public class ChapterServiceImpl implements ChapterService {

    @Autowired
    private ChapterDao chapterDao ;

    @Override
    public int addChapter(Chapter chapter) {
        return chapterDao.addChapter(chapter);
    }

}
